package com.wu.framework.upms.api;


import com.wu.framework.upms.domain.entity.UcUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "upms-provider", url = "${feign.url.upms:}")
public interface UpmsApi {

    /**
     * description 根据租户ID 用户名查询用户信息
     *
     * @param
     * @return
     * @exception/throws
     * @author 吴佳伟
     * @date 2021/5/26 3:41 下午
     */
    @PostMapping("/api/getUcUserByTenantIdAndUserName")
    UcUser getUcUserByTenantIdAndUserName(@RequestParam("tenantId") String tenantId, @RequestParam("userName") String userName);

}
